
public class SportsCar extends Car {
	private static final int MINIMUM_PRICE = 0;
	private boolean isCabriolet;
	private double price;
	private boolean isSportCar = false;
	
	SportsCar(boolean isCabrioler, double price){
		this.isCabriolet = isCabrioler;
		setPrice(price);
	}
	
	public boolean getIsCabriolet(){
		return this.isCabriolet;
	}
	
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		if(price >= MINIMUM_PRICE)
		this.price = price;
	}
	
	void switchTurbo(){
		System.out.println("Switching turbo... Are you trying to be Vin Diesel?");
	}

	@Override
	void startEngine() {
		super.startEngine();
		switchTurbo();
	}
	
}
